| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ViewportManagerWrapper.h
1 // ViewportManagerWrapper.h
3 //
5
6 namespace nkAstraeus::nkGraphicsWrap
7 {
11 class ViewportManagerWrapper final
12 {
13 public :
14
15 // Environment update
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
24 // Management
35 static nkScripts::OutputValue createOrRetrieve (const nkScripts::DataStack& stack) ;
46 static nkScripts::OutputValue erase (const nkScripts::DataStack& stack) ;
57 static nkScripts::OutputValue rename (const nkScripts::DataStack& stack) ;
58 // Getters
69 static nkScripts::OutputValue getActiveViewport (const nkScripts::DataStack& stack) ;
70 } ;
71 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::createOrRetrieve
static nkScripts::OutputValue createOrRetrieve(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::rename
static nkScripts::OutputValue rename(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper
Wraps the nkGraphics::ViewportManager and offers functions for use in scripting.
Definition: ViewportManagerWrapper.h:12
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::erase
static nkScripts::OutputValue erase(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::getActiveViewport
static nkScripts::OutputValue getActiveViewport(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7